package oop4;

/**
 * @author oldliu
 * @since 1.0
 */
public class ChinaDog extends Dog {
    public ChinaDog(String n, int h, int l, String sex, String type) {
        super(n, h, l, sex, type);
    }
    //错误
   /* public void print(){
        System.out.println("sss");
    }*/
    @Override
    public void catchMouse(String mouse) {
        System.out.println("抓老鼠很厉害");
        super.catchMouse(mouse);
    }
}
